package com.lin.mapper;

import com.lin.entity.DynamicData;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DynamicDataMapper {

    void setDynamic(DynamicData dynamic);

    @Delete("delete from dynamic_data where user_id = #{userId} and dynamic_id = #{dynamicId}")
    boolean delete(DynamicData dynamic);

}
